package com.kingcore.commerce.front.controller;

//import javax.inject.Inject;
import java.io.Serializable;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.kingcore.commerce.base.controller.CommerceController;
import com.kingcore.commerce.core.bean.WebPageNavigator;

@Controller
public class WelcomeController extends CommerceController{

	// @Inject
	// private User user;
	
	@RequestMapping("")
	public String index() {
		return "redirect:/front";
	}

	@Override
	protected String getModuleParent() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected String getModuleName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String neww(HttpServletResponse response, Model model)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String edit(HttpServletResponse response, Model model,
			Serializable pk) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String list(HttpServletResponse response, Model model, Object t,
			Integer pageNum, Integer numPerPage) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModelAndView add(HttpServletResponse response, Model model, Object t)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModelAndView mod(HttpServletResponse response, Model model, Object t)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ModelAndView remove(HttpServletResponse response, Model model,
			Serializable pk) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}
	
}